<!--
~ Copyright 2018-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~     http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<svg:line xmlns:svg="http://www.w3.org/2000/svg"
        [attr.x1]="(link && link.source) ? link.source.x : 0"
        [attr.y1]="(link && link.source) ? link.source.y : 0"
        [attr.x2]="(link && link.target) ? link.target.x : 0"
        [attr.y2]="(link && link.target) ? link.target.y : 0"
          [ngStyle]="{'stroke':'black'}"
>
    <!--<svg:line *ngFor="let link of regionData.links"-->
    <!--x1="0" y1="0" x2="0" y2="0"-->
    <!--stroke="#939598" stroke-width="1"-->
    <!--[ngClass]="['link', 'direct']"-->
    <!--[ngStyle]="{'stroke-width': 1+'px'}" [attr.click()]="selectLink(link)" />-->
</svg:line>
